# ssm

Greatly inspired by ii (https://tools.suckless.org/ii/). Also a lot of code was copied from there.

ssm attempts to be a peer to peer messaging client based on the technology of i2p. Since it is so easy to create a key pair in i2p and for others to be able send packets to you via the public key, I thought about porting this kind of abilities into the unix space.

Assuming both peers run ssm, one can pipe the public key of the other peer into the master in fifo. After that, ssm will try to create a connection to that peer. When successfull, ssm will create a directory named after the first couple characters of the piped public key. Inside will be another in fifo, with which you can send messages to the target peer and an out file (will only be created after messages were sent), which which you can view all messages sent.

## the code

The code is horrible right now. It's the example from libsam3a glued together with some parts of ii. It's also working as a proof of concept, but not quite usable yet. I hope I can find the time and motivation to develop this to a usable state, since I really want this to work.
